//---------------------------------------------------------------------------

#ifndef Fr_POISKH
#define Fr_POISKH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "cxContainer.hpp"
#include "cxControls.hpp"
#include "cxEdit.hpp"
#include "cxGraphics.hpp"
#include "cxGroupBox.hpp"
#include "cxLookAndFeelPainters.hpp"
#include "cxLookAndFeels.hpp"
#include "cxRadioGroup.hpp"
#include "Fr_Adres.h"
#include <DBGrids.hpp>
#include <Grids.hpp>
#include "cxButtons.hpp"
#include <ActnList.hpp>
#include <DB.hpp>
#include <Menus.hpp>
#include "cxCheckBox.hpp"
#include "cxCheckGroup.hpp"
#include "cxCalendar.hpp"
#include "cxDropDownEdit.hpp"
#include "cxMaskEdit.hpp"
#include "cxTextEdit.hpp"
#include "frxClass.hpp"
#include "frxDBSet.hpp"
#include <ComCtrls.hpp>
#include "DBAccess.hpp"
#include "IBC.hpp"
#include "MemDS.hpp"
//---------------------------------------------------------------------------
class TFrame_POISK : public TFrame
{
__published:	// IDE-managed Components
	TcxGroupBox *cxGroupBox1;
	TFrame_Adres *Frame_Adres2;
	TGroupBox *GroupBox2;
	TLabel *Label5;
	TLabel *Label6;
	TEdit *edNOM;
	TEdit *edFIO;
	TGroupBox *GroupBox3;
	TLabel *Label7;
	TLabel *Label8;
	TEdit *edDOM;
	TEdit *Edit4;
	TcxRadioGroup *cxRadioGroup1;
	TcxGroupBox *gbPrin;
	TDBGrid *gbTable;
	TcxRadioButton *rbALL;
	TcxRadioButton *rbNE_VIP;
	TcxRadioButton *rbPRIN;
	TcxRadioButton *rbVIP;
	TcxRadioButton *rbVIP_S;
	TcxButton *btPOISK;
	TActionList *ActionList1;
	TAction *POISK;
	TcxCheckGroup *gbTIP_POISKA;
	TcxCheckBox *hbDATA_PRIEMA;
	TcxCheckBox *hbDATA_ZAPL;
	TcxCheckBox *hbDATA_OBR;
	TcxGroupBox *gbDAT;
	TLabel *Label1;
	TcxDateEdit *dtpDAT1;
	TLabel *Label2;
	TcxDateEdit *dtpDAT2;
	TPopupMenu *pmPOISK;
	TMenuItem *pmDEL;
	TAction *DEL;
	TIBCQuery *dsetPOISK;
	TIBCDataSource *dsPOISK;
	void __fastcall POISKExecute(TObject *Sender);
	void __fastcall dtpDAT2PropertiesChange(TObject *Sender);
	void __fastcall hbDATA_PRIEMAClick(TObject *Sender);
	void __fastcall hbDATA_ZAPLClick(TObject *Sender);
	void __fastcall hbDATA_OBRClick(TObject *Sender);
	void __fastcall gbTableDblClick(TObject *Sender);
	void __fastcall edNOMChange(TObject *Sender);
	void __fastcall edNOMKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
	void __fastcall rbALLClick(TObject *Sender);
	void __fastcall edFIOKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
	void __fastcall Frame_Adres2cbULClick(TObject *Sender);
	void __fastcall edDOMKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
	void __fastcall DELExecute(TObject *Sender);
private:	// User declarations
public:		// User declarations
	__fastcall TFrame_POISK(TComponent* Owner);
	void __fastcall TFrame_POISK::POISK_ZAYAVKI(int PRIZN,int STATUS);
};
//---------------------------------------------------------------------------
extern PACKAGE TFrame_POISK *Frame_POISK;
//---------------------------------------------------------------------------
#endif
